package com.surelution.projects.congress

/**
 * 
 * @author <a href="mailto:guangzong.syu@gmail.com">Guangzong</a>
 *
 * 代表、委员
 */
class Member {

    static constraints = {
		ended nullable:true
		endDate nullable:true
    }
	
	String name
	
	/**
	 * 代表证编号，通常为代表证IC卡编号
	 */
	String passportId
	String mobileNumber
	String extrolTel
	Gender gender
	MemberLevel level
	JobTitle title
	MemberGroup memberGroup
	String address
	String workOrganization
	Nation nation
	Party party
	
	Date startDate
	Date endDate
	Boolean ended
}
